home *** CD-ROM | disk | FTP | other *** search
/ Programming Windows 95 with MFC / Programming Windows 95 with MFC (Microsoft Programming Series)(097-0001465)(1996).iso / NT / CODE / CHAP14 / MTDEMO / MAINFRAME.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-05  |  724 b   |  29 lines

  1. //***********************************************************************
  2. //
  3. //  MainFrame.h
  4. //
  5. //***********************************************************************
  6.  
  7. class CMainFrame : public CFrameWnd
  8. {
  9.     DECLARE_DYNCREATE (CMainFrame)
  10.  
  11. private:
  12.     CStatusBar m_wndStatusBar;
  13.     int m_nPercentDone;
  14.  
  15. public:
  16.     CMainFrame ();
  17.  
  18. protected:
  19.     afx_msg int OnCreate (LPCREATESTRUCT);
  20.     afx_msg LONG OnUpdateImageStats (UINT, LONG);
  21.     afx_msg LONG OnThreadUpdate (UINT, LONG);
  22.     afx_msg LONG OnThreadFinished (UINT, LONG);
  23.     afx_msg LONG OnThreadAborted (UINT, LONG);
  24.     afx_msg BOOL OnQueryNewPalette ();
  25.     afx_msg void OnPaletteChanged (CWnd*);
  26.  
  27.     DECLARE_MESSAGE_MAP ()
  28. };
  29.